package com.geely.design.pattern.creational.singleton;

public class T implements Runnable{
    @Override
    public void run() {
      //  LazySingleton lazySingleton = LazySingleton.getInstance();
      //  LazyDoubleCheckSingleton instance = LazyDoubleCheckSingleton.getInstance();
        //StaticInnerClassSingleton instance = StaticInnerClassSingleton.getInstance();

        ThreadLocalInstance instance = ThreadLocalInstance.getInstance();
        System.out.println(Thread.currentThread().getName()+" "+instance);
    }
}
